package com.wsoft.cms.query.announcement;

import com.wsoft.entity.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author z001
 * @Date 2024/11/27 14:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AnnouncementListQuery extends BasePage {
    @Schema(description = "分类id")
    private Long categoryId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "优先级（L低，M中，H高）")
    private String priority;

    @Schema(description = "发布状态（0未发布，1已发布，2已撤销）")
    private String sendStatus;

    @Schema(description = "发布单位")
    private Long sendOrgId;

    @Schema(description = "发布时间-开始")
    private String sendTimeBegin;

    @Schema(description = "发布时间-结束")
    private String sendTimeEnd;

    @Schema(description = "是否已读 0-未读,1-已读,2/null-全部")
    private Integer isRead;

    @Schema(description = "设备端")
    private String device;

}
